﻿using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Text;

namespace App.Core.Mini
{
    public class HttpContext
    {
        public HttpRequest Request { get; }
        public HttpResponse Response { get; }
        public HttpContext(IFeatureCollection features)
        {
            Request = new HttpRequest(features);
            Response = new HttpResponse(features);
        }

    }
    //public class HttpRequest
    //{
    //    public Uri Url { get; }
    //    public NameValueCollection Headers { get; }
    //    public Stream Body { get; }
    //}
    //public class HttpResponse
    //{
    //    public NameValueCollection Headers { get; }
    //    public Stream Body { get; }
    //    public int StatusCode { get; set; }
    //}
}
